package com.frogs.ucenter.v1.service;

import com.frogs.system.web.api.request.Request;
import com.frogs.system.web.api.response.Response;

public interface DirectMessageService {
	
	/**
	 * 发送
	 * @param request
	 * @return
	 */
	Response send(Request request) throws Exception;
	
	/**
	 * 根据用户提供的信息状态，查询出相应的是数量
	 */
	Response countByStatus(Request request) throws Exception;
	/**
	 * 根据用户号、信息状态查询短信清单
	 */
	Response getUserMessageDmList(Request request) throws Exception;
	
	/**
	 * 根据短消息ID读取消息ID
	 * @param request
	 * @return
	 * @throws Exception
	 */
	Response readUserMessageDm(Request request) throws Exception;
	
	/**
	 * 批量更新状态
	 * @param request
	 * @return
	 * @throws Exception
	 */
	Response batchUpdateUserMessageDm(Request request) throws Exception;
}
